package org.linlinjava.litemall.admin.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.linlinjava.litemall.db.domain.LitemallDistributionLog;
import org.linlinjava.litemall.db.handler.IntegerArrayJsonTypeHandler;
import org.linlinjava.litemall.db.handler.LongArrayJsonTypeHandler;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class DistributionLogAndDetailVO extends LitemallDistributionLog implements Serializable {


    private Integer registerId;

    private String registerUsername;

    @TableField(value = "present_coupon_id",typeHandler = LongArrayJsonTypeHandler.class)
    private Long[] presentCouponId;

    private BigDecimal presentPoints;

    private LocalDateTime addTime;

    private LocalDateTime updateTime;

    private Boolean deleted;

}
